$controls/header()$
<script src="scripts/ubb.js"></script>
$controls/navigation()$ <script src="scripts/alter.js"></script>
<script src="scripts/calendar.js"></script>
<script>
var SignatureSize = $Page.user.NormalPermission.SignatureSize$;
var UserSignature = $Page.user.NormalPermission.UserSignature$;
</script>

<script>
function onchangetype(t)
{
	if (t.value == '1')
	{
		document.getElementById('uploader').style.display = '';
		document.getElementById('vurl').style.display = 'none';
	}
	else
	{
		document.getElementById('uploader').style.display = 'none';
		document.getElementById('vurl').style.display = '';
	}
}

function onselectedupload(o)
{

	var vimg = document.getElementById('vimg');
	vimg.src = o.value;
	
}
</script>
<iframe id="signaturewin" name="signaturewin" style="display:none;" scrolling="auto" frameborder="0"></iframe>
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="180" valign="top">$controls/drawer()$ </td>
<td width="5"></td>
<td valign="top">
<form action="alter.aspx" method="POST" name="AlterForm" id="AlterForm" onSubmit="return checkalter();" enctype="multipart/form-data">
<input type="hidden" name="token" value="$Token$" />
$controls/tableheader(
Caption="编辑个人资料",
ElementId="alter"
)$
<table cellpadding="8" cellspacing="0" class="inner">
<tr>
<td width="300" valign="top">
<table cellpadding="5" cellspacing="0" class="inner">
<tr>
<td width="80" valign="top"><div style="padding:10px 0;font-weight:bold; font-size:14px;">基本资料</div></td>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top">真实姓名</td>
<td><input type="text" name="NickName" value="$Member.Info.NickName$" /></td>
</tr>
<tr>
<td valign="top">自封头衔</td>
<td><input name="Rank" type="text" value="$Member.Info.Rank$" maxlength="16" /></td>
</tr>
<tr>
<td>Email<span style="color:#F00;">*</span></td>
<td><input name="Email" type="text" value="$Member.Email$" size="35" /></td>
</tr>
<tr>
<td>性别</td>
<td><input name="Sex" type="radio" value="1" class="smallbox" $if(Member.Sex)$checked="checked"$endif$><img src="images/icon/male.gif" alt="  男  " />&nbsp;男&nbsp;<input name="Sex" type="radio" value="0" class="smallbox" $if(Member.Sex)$$else$checked="checked"$endif$ /><img src="images/icon/femle.gif" alt="  女  ">&nbsp;女&nbsp;</td>
</tr>
<tr>
<td>OICQ</td>
<td><input type="text" name="QQ" size="35" maxlength="15" value="$Member.Info.QQ$" /></td>
</tr>
<tr>
<td>MSN</td>
<td><input name="Msn" type="text" value="$Member.Info.Msn$" size="35" /></td>
</tr>
<tr>
<td>Yahoo</td>
<td><input type="text" name="Yahoo" size="35" value="$Member.Info.Yahoo$" /></td>
</tr>
<tr>
<td>GTalk</td>
<td><input type="text" name="GTalk" size="35" value="$Member.Info.GTalk$" /></td>
</tr>
<tr>
<td>淘宝帐号</td>
<td><input type="text" name="Taobao" size="35" value="$Member.Info.Taobao$" /></td>
</tr>
<tr>
<td>支付宝帐号</td>
<td><input name="Alipay" type="text" value="$Member.Info.Alipay$" size="35" /></td>
</tr>
<tr>
<td>个人主页</td>
<td><input name="Homepage" type="text" value="$Member.Info.Homepage$" size="35" /></td>
</tr>

<tr>
<td width="60" valign="top"><div style="padding:10px 0;font-weight:bold; font-size:14px;">详细资料</div></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>出生日期</td>
<td><input name="Year" size="4" maxlength="4" value="$Member.Info.Year$" />
年
<select name="Month"> 
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
月
<select name="Day">
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
日</td>
</tr>
<tr>
<td>国家</td>
<td>
$controls/nationality()$
<img src="images/flags/$Member.Info.Nationality$.gif" name="flagimg" height="11" width="16"></td>
</tr>
<tr>
<td>来自</td>
<td><script src="scripts/area.js"></script><select name="province" onchange = "selectarea()"></select>&nbsp;<select name="city" onchange = "selectarea()"></select></td>
</tr>

<tr>
<td>收入水平</td>
<td><select size="1" name="Income"> 
<option value="保密">保密</option>
<option value="1000元以下/月">1000元以下/月</option>
<option value="2000元/月">2000元/月</option>
<option value="4000元/月">4000元/月</option>
<option value="8000元/月">8000元/月</option>
<option value="20000元/月">20000元/月</option>
<option value="20000元以上/月">20000元以上/月</option>
</select></td>
</tr>
<tr>
<td>婚姻状况</td>
<td><font color="#000000">
<select name="Marriage">
<option value="$Member.Info.Marriage$">$Member.Info.Marriage$</option>
<option value="保密">保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="未婚">未婚</option>
<option value="已婚">已婚</option>
<option value="离婚">离婚</option> 
</select>
</font></td>
</tr>
<tr>
<td>所属行业</td>
<td><select size="1" name="Work">
<option value="保密">保密</option>
<option value="金融业">金融业</option>
<option value="服务业">服务业</option>
<option value="信息产业">信息产业</option>
<option value="制造业">制造业</option>
<option value="制造业">传播业</option>
<option value="教育">教育</option>
<option value="政府机构">政府机构</option>
<option value="医疗保健">医疗保健</option>
<option value="房地产">房地产</option>
<option value="其它">其它</option>
</select></td>
</tr>

<tr>
<td>职位</td>
<td><select id="Occupation" title="从事职业" name="occupation">
<option value="保密">保密</option>
<option value="学生">学生</option>
<option value="职员">职员</option>
<option value="经理">经理</option>
<option value="专业人士">专业人士</option>
<option value="公务员">公务员</option>
<option value="私营主">私营主</option>
<option value="待业">待业</option>
<option value="退休">退休</option>
<option value="其它">其它</option>
</select></td>
</tr>
<tr>
<td>星座</td>
<td><select name="Star">
<option value="保密">保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="白羊座">白羊座</option>
<option value="金牛座">金牛座</option>
<option value="双子座">双子座</option>
<option value="巨蟹座">巨蟹座</option>
<option value="狮子座">狮子座</option>
<option value="处女座">处女座</option>
<option value="天秤座">天秤座</option>
<option value="天蝎座">天蝎座</option>
<option value="射手座">射手座</option>
<option value="魔羯座">魔羯座</option>
<option value="水瓶座">水瓶座</option>
<option value="双鱼座">双鱼座</option>
</select></td>
</tr>

<tr>
<td>血型</td>
<td><select name="Blood">
<option value="保密" selected>保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="AB">AB</option>
<option value="O">O</option>
</select></td>
</tr>
<tr>
<td>文化程度</td>
<td><select name="Education">
<option value="保密">保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="初中">初中</option>
<option value="高中">高中</option>
<option value="中专">中专</option>
<option value="大专">大专</option>
<option value="大学">大学</option>
<option value="硕士">硕士</option>
<option value="博士">博士</option>
</select></td>
</tr>

<tr>
<td>证件类型</td>
<td><font color="#000000">
<select name="IdType"> 
<option value="$Member.Info.IdType$">$Member.Info.IdType$</option>
<option value="身份证">身份证&nbsp;&nbsp;&nbsp;</option>
<option value="学生证">学生证&nbsp;&nbsp;&nbsp;</option>
<option value="工作证">工作证&nbsp;&nbsp;&nbsp;</option>
<option value="驾驶证">驾驶证&nbsp;&nbsp;&nbsp;</option>
</select>
</font></td>
</tr>
<tr>
<td>证件号码</td>
<td><input type="text" name="IdNumber" size="35" maxlength="20" value="$Member.Info.IdNumber$" /></td>
</tr>
<tr>
<td>联系电话</td>
<td><input type="text" name="Telephone" size="35" maxlength="20" value="$Member.Info.Telephone$" /></td>
</tr>
<tr>
<td>手机号码</td>
<td><input type="text" name="Cellphone" size="35" maxlength="11" value="$Member.Info.Cellphone$" /></td>
</tr>
<tr>
<td>通讯地址</td>
<td><input name="Address" type="text" value="$Member.Info.Address$" size="35" /></td>
</tr>
<tr>
<td>邮政编码</td>
<td><input type="text" name="Postcode" size="35" maxlength="10" value="$Member.Info.Postcode$" /></td>
</tr>
</table></td>
<td width="5"></td>
<td valign="top">
<div style="clear:both;margin:auto;">
<table cellpadding="5" cellspacing="0" class="inner">
<tr>
<td>
<div style="padding:10px 0;font-weight:bold;font-size:14px;">形象设定</div></td>
</tr>
<tr>
<td><strong>个人头像</strong></td>
</tr>
<tr>
<td><img id="aimg" src="$Member.Avatar$" alt="" style="cursor:pointer" onClick="window.open('avatars.htm','faces','left=190px,top=110px,Width=537px,Height=425px,resizable=no,scrolls=no')" /></td>
</tr>
<tr>
<td><input type="hidden" value="$Member.Avatar$" name="aurl" id="aurl" /><a href="javascript:///" onClick="window.open('avatars.htm','faces','left=190px,top=110px,Width=537px,Height=425px,resizable=no,scrolls=no')">选择用户头像...</a></td>
</tr>
<tr>
<td><strong>社区形象</strong></td>
</tr>
<tr>
<td><img id="vimg" src="$Member.Visualization$" style="cursor:pointer" onerror='this.src="uploadfaces/no.gif";' alt="" onClick="window.open('faces.htm','faces','left=190px,top=110px,Width=537px,Height=355px,resizable=no,scrolls=no')" onload="this.width=$Member.VWidth$;"/></td>
</tr>
<tr>
<td><a href="javascript:///" onClick="window.open('faces.htm','faces','left=190px,top=110px,Width=537px,Height=355px,resizable=no,scrolls=no')">选择形象图片...</a></td>
</tr>
<tr>
<td>图像宽度：
<input name="vwidth" id="vwidth" type="text" style="height:15px;line-height:normal;" value="$Member.VWidth$" size="2" maxlength="3">
<br>
<div class="comment" style="margin-top:5px;">宽度必须是20至150之间的一个整数</div></td>
</tr>



<tr>
<td><input name="type" type="radio" value="0" class="smallbox" checked="checked" onClick="onchangetype(this);" />图片URL地址&nbsp;&nbsp;&nbsp;<input name="type" type="radio" value="1"  class="smallbox" onClick="onchangetype(this);" />上传形象照</td>
</tr>
<tr>
<td>
<input type="text" id="vurl" name="vurl" style="width:98%;" value="$Member.Visualization$" maxlength="100">
<input type="file" id="uploader" onChange="onselectedupload(this);" name="uploader" style="display:none;width:98%;" /></td>
</tr>

<tr>
<td><strong>个性签名</strong>:(限制长度&nbsp;<span class="small t1">
<script>document.write(SignatureSize);</script></span>&nbsp;个字符)</td>
</tr>
<tr>
<td>
<script src="scripts/ubbeditor.js"></script>
<script>CreateUbbEditor('Signature', $Page.user.NormalPermission.UserSignature$);</script>
<textarea id="Signature" name="Signature" style="height:100px; width:98%;">$Member.Signature$</textarea>
</td>
</tr>
</table>
</div></td>
</tr>
</table>
<table cellspacing="0" class="inner">
<tr class="forumtd">
<td height="30" align="center"><strong>登录密码</strong> <input type="password" name="password" />
<span class="ttt">&nbsp;*为了安全起见，请输入您的登录密码!</span></td>
</tr>
<tr class="forumtd">
<td height="30" align="center">$if(ShowVerifier)$
验证码
<input type='text' name='verification' style='width:50px;' class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
<script language='javascript'> document.write("<img src='verifier.aspx?time=", new Date(), "' alt='验证码图片, 看不清字符请点击刷新, 如果是加法运算, 填入计算结果'   style='cursor:hand' onclick=\"this.src = this.src.substring(0, this.src.indexOf('time=')) + 'time=' + new Date()\"/>"); </script>
$endif$
<input name="submit" type="submit" class="button" value="  修 改  " /></td>
</tr>
</table>
$controls/tablefooter()$ <br />
<div align="center"></div>
</form></td>
</tr>
</table>
<script language="javascript">
init(document.forms["AlterForm"]);
checkbyvalue(document.forms["AlterForm"].Month, '$Member.Info.Month$');
checkbyvalue(document.forms["AlterForm"].Day, '$Member.Info.Day$');
checkbyvalue(document.forms["AlterForm"].Nationality, '$Member.Info.Nationality$');
checkbyvalue(document.forms["AlterForm"].province, '$Member.Info.Province$');
document.forms["AlterForm"].province.onchange();
checkbyvalue(document.forms["AlterForm"].city, '$Member.Info.City$');
checkbyvalue(document.forms["AlterForm"].Income, '$Member.Info.Income$');
checkbyvalue(document.forms["AlterForm"].Marriage, '$Member.Info.Marriage$');
checkbyvalue(document.forms["AlterForm"].Work, '$Member.Info.Work$');
checkbyvalue(document.forms["AlterForm"].Occupation, '$Member.Info.Occupation$');
checkbyvalue(document.forms["AlterForm"].Star, '$Member.Info.Star$');
checkbyvalue(document.forms["AlterForm"].Blood, '$Member.Info.Blood$');
checkbyvalue(document.forms["AlterForm"].Education, '$Member.Info.Education$');
checkbyvalue(document.forms["AlterForm"].IdType, '$Member.Info.IdType$');
</script>
$controls/footer()$